package Similarity;

import Global.ConstantVariable;


public class SimilarityCalculatorFactory {
	
	static public SimilarityCalculatorAbstractClass createSimilarityCalculator(String SimilarityCalculatorName)
	{
		if(SimilarityCalculatorName == ConstantVariable.SimilarityCalculator_ConstantVariables.COSINE_SIMILARITY)
			return new CosineSimilarityCalculatorClass();		
		else if(SimilarityCalculatorName == ConstantVariable.SimilarityCalculator_ConstantVariables.MATCH_SIMILARITY)
			return new MatchSimilarityCalculatorClass();
		else return null;
		
	}
}
